package com.dcy.znoa.service.publiz;

import com.dcy.znoa.common.util.pojo.JsonCommon;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.publiz.model.news.SelectNewsModel;
import com.dcy.znoa.domain.publiz.News;

import java.lang.reflect.InvocationTargetException;

public interface NewsService {

    JsonCommon insert(News var1);

    JsonCommon updateById(News var1);//修改和逻辑删除都用这个方法实现

    JsonForList selectList(SelectNewsModel model) throws InvocationTargetException, IllegalAccessException;
}
